package com.softtown.modules.dapai.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.dapai.entity.CompCityEntity;
import com.softtown.modules.organization.entity.CompOrgDeptEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CompCityDao extends BaseDao<CompCityEntity> {

    List<CompCityEntity> getCityList(Long compId);


    List<CompCityEntity> getCityTree(Long compId);

    List<CompCityEntity> getCityListById(@Param("compId") Long compId,@Param("id") Long id);

    List<CompCityEntity> getProvinceCities(Long compId);

    void updateCity(CompCityEntity compCityEntity);

}
